data "aws_subnets"
from
TerraformのData Source
code:tf
data "aws_subnets" "default" {
filter {
name = "vpc-id"
values =
data.aws_vpc.default.id
}
}